Home
last modified time | relevance | path

Searched hist:"4864545 a4669781f75aa711ebf7b25e6f0f37d13" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dswap.cdiff 4864545a4669781f75aa711ebf7b25e6f0f37d13 Fri Jun 17 19:50:08 CEST 2022 Matthew Wilcox (Oracle) <willy@infradead.org> mm/swap: pull the CPU conditional out of __lru_add_drain_all()

The function is too long, so pull this complicated conditional out into
cpu_needs_drain(). This ends up shrinking the text by 14 bytes,
by allowing GCC to cache the result of calling per_cpu() instead of
relocating each lookup individually.

Link: https://lkml.kernel.org/r/20220617175020.717127-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>